home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / demos / OpenGL / walker / Makefile < prev    next >
Makefile  |  1996-11-11  |  480b  |  29 lines

  1. #! smake
  2.  
  3. include $(ROOT)/usr/include/make/commondefs
  4.  
  5. TARGETS    = walker
  6.  
  7. GLDEBUG ?= no
  8. #if $(GLDEBUG) != "no"
  9. OPTIMIZER = -g
  10. #endif
  11.  
  12. TOOLKITDIR ?= ../
  13.  
  14. LIBGLUT = $(TOOLKITDIR)/lib/libglut.a
  15. LLDLIBS = $(LIBGLUT) -lGLU -lGL -lXmu -lXext -lX11 -lm
  16.  
  17. CFILES    = models.c walker.c walkviewer.c
  18.  
  19. LCINCS    = -I$(TOOLKITDIR)/include
  20. LCOPTS    = -fullwarn -wlint,-f
  21. LWOFF    =,813,852,827,826,756
  22.  
  23. default: $(TARGET)
  24.  
  25. include $(COMMONRULES)
  26.  
  27. $(TARGETS): $(OBJECTS)
  28.     $(CCF) $(OBJECTS) $(LDLIBS) -o $@
  29.